﻿using FluentNHibernate.Mapping;
using SevenDigital.FooBar.Core.Domain;


namespace SevenDigital.FooBar.Core.Mapping
{
    public class CountryMap: ClassMap<Country>
    {
        public CountryMap()
        {
            this.WithTable("lkuCountry");
            Id(x => x.Id)
                .ColumnName("countryId");
            Map(x => x.Name, "countryDesc");
        }
    }
}
